package com.haier.dreambox.demo.bean.uplus;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;


/**
 * Created by smalant on 14/12/30.
 */
@DatabaseTable
public class DeviceType {

    @DatabaseField(generatedId = true)
    public  transient int id;

    @DatabaseField
    public String type;           //设备大类
    @DatabaseField
    public String subType;        //设备中类
    @DatabaseField
    public String specialCode;    //设备专用号
    @DatabaseField
    public String typeIdentifier; //设备类型唯一识别码


    public DeviceType(String type, String subType, String specialCode, String typeIdentifier) {
        this.type = type;
        this.subType = subType;
        this.specialCode = specialCode;
        this.typeIdentifier = typeIdentifier;
    }

    public DeviceType() {
    }

    @Override
    public String toString() {
        return "DeviceType{" +
                "type='" + type + '\'' +
                ", subType='" + subType + '\'' +
                ", specialCode='" + specialCode + '\'' +
                ", typeIdentifier='" + typeIdentifier + '\'' +
                '}';
    }
}
